package com.supermap.data.controller;

import com.supermap.data.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by asus on 2018/12/18.
 */
@Controller
@RequestMapping(value = "/test",produces = {"application/json;charset=UTF-8"})
public class Test {


    @Autowired
    private UserDao userDao;
    @RequestMapping(value = "/test",method = RequestMethod.GET)
    @ResponseBody
    public String tets(){
        return "12345656456";
    }
}
